<?php
namespace app\common\validate;
use think\Validate;
class SellerShop extends Validate
{
    protected $rule    = [
        'seller_id' => 'require',
        'shop_id' => 'require',
    ];
    protected $message = [
        'seller_id.require' => '业务员必填',
        'shop_id.require' => '商户必填',
    ];
    //验证场景
    protected $scene = [
        'pwd'  =>  ['password','repassword'],
    ];
}
